package conson.tech.manage.app.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * ClassName: PageVo
 * Description: 分页VO
 * Author: HXL
 * Date: 2020/3/11 5:27 下午
 * Version: 1.0
 */
@Data
@ApiModel("PageVo")
public class PageVo implements Serializable {
    private static final long serialVersionUID = 3367561400757055224L;
    @ApiModelProperty(value = "当前页",example = "当前页")
    @NotNull(message = "当前页不能为空")
    private Integer pageIndex;
    @ApiModelProperty(value = "每页数量",example = "每页数量")
    @NotNull(message = "每页数量不能为空")
    private Integer pageSize;
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "页面请求类型:1-首页默认应用 2-应用配置（全部应用管理）3-首页模块  4-生活页模块 5-信豆页引导模块 6-功能专题页模块",
            example = "页面请求类型:1-首页默认应用 2-应用配置（全部应用管理）3-首页模块  4-生活页模块 5-信豆页引导模块 6-功能专题页模块")
    @NotNull(message = "页面请求类型不能为空")
    private Integer pageRequestType;
}
